import request from '@/utils/request'
import qs from 'qs'

export const resultQueryAll = () =>
    request({
        url: '/tjtMentalityResult/queryAllResult',
        method: 'get'
    })

    export const queryByTquestionId = (id) =>
    request({
        url: '/tjtquestionnaire/'+id,
        method: 'get'
    })

    export const queryByidsCard = (idCard) =>
      request({
          url: '/tjtMentalityResult/'+idCard,
          method: 'get'
      })
      export const xlcpAdd = (sum,sum2,sum3,id) =>
      request({
          url: '/tjtMentalityResult/'+sum+'/'+sum2+'/'+sum3+'/'+id,
          method: 'post',
      })
      export const delxlcp = (id,createtime) =>
      request({
          url: '/tjtMentalityResult/'+id+'/'+createtime,
          method: 'delete'
      })
